package com.ilearn.mock;

import java.util.List;
import java.util.Map;

/**
 * @Project: edb
 * @Description:
 * @Version 1.0
 * @Throws :
 * @Author: <li>2019/4/4 lyndon Create 1.0
 * @Copyright (c)2018-2018 中央结算公司，版权所有
 * @Modified By:
 */
public interface DBAccess {

    int delete(String moi, String moc) throws Exception;

    void create(String moi, String moc, Map<String, Object> attributes) throws Exception;

    List<Map<String, Object>> select(String moi, String moc, String[] attributes) throws Exception;

    int update(String moi, String moc, Map<String, Object> attributes) throws Exception;
}
